package com.aotao.springboot.impl;

import com.aotao.springboot.domain.User;
import com.aotao.springboot.mapper.UserXmlMapper;
import com.aotao.springboot.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl implements UserService {

    @Autowired
    private UserXmlMapper userXmlMapper;
    public void setUserMapper (UserXmlMapper userXmlMapper) {
        this.userXmlMapper = userXmlMapper;
    }

    public User findUser() {
        return this.userXmlMapper.findUser();
    }
}
